package com.xq.shop.service.user.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xq.shop.dao.IBaseDAO;
import com.xq.shop.dao.IProductScoreDAO;
import com.xq.shop.po.ProductScore;
import com.xq.shop.service.user.IProductScoreService;

@Service("user_productScore_service")
public class ProductScoreService extends BaseService<ProductScore> implements
		IProductScoreService {

	@Autowired
	private IProductScoreDAO productScoreDAO;
	
	@Override
	public IBaseDAO<ProductScore> getDAO() {
		return productScoreDAO;
	}

	@Override
	public ProductScore get(Long userId, Long orderId, Long productId) {
		return productScoreDAO.get(userId, orderId, productId);
	}

}
